package com.mtask.common.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class TaskJobDTO {
    @NotNull
    private Integer taskGroupId;

    private Boolean isUpdate = false;
    private Integer taskJobId;

    private String name;
    private String remark;
    private String cron;
    private Boolean isFailMail;
    private String status;
    private String statusMsg;
    private Integer serviceId;
    private String failMailRule;
    @NotBlank
    private String referenceType;
    @NotNull
    private Integer referenceId;
}
